SftTree/OCX 7.0

SftTreeFooter. ForeColor Property

Softel vdm, Inc.

Defines the foreground color for this column footer.

Syntax       

Get

VB.NET

Clr = object.ForeColor  As UIntegerLanguage-specific information

VB

Clr = object.ForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.ForeColor;

VC++

OLE_COLOR Clr = object->ForeColor;
OLE_COLOR Clr = object->GetForeColor();

C

HRESULT object->get_ForeColor(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColor  : Cardinal;

Put

VB.NET

object.ForeColor = Clr  As UIntegerLanguage-specific information

VB

object.ForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.ForeColor = Clr;

VC++

OLE_COLOR object->ForeColor = Clr;
void object->PutForeColor(OLE_COLOR Clr);

C

HRESULT object->put_ForeColor(OLE_COLOR Clr);

Delphi

object.ForeColor := Clr  : Cardinal;

object

A SftTreeFooter object.

Clr

Defines the foreground color for this column footer. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The ForeColor property defines the foreground color for this column footer.

The color defined overrides the default color for column footers defined using Footers.ForeColor. This color can also override Windows themes, if the Footer.OverrideTheme property is set accordingly.

When updating this property and the specified color Clr is the same value as the color currently defined using Footers.ForeColor, the value -1 is saved, indicating that there is no defined color and default colors are used.

The Footer.ForeColorDisabled property can be used to define the foreground color for this column footer, when it is disabled.

See Also  SftTreeFooter Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com